<?php
include "conn.php";
if(isset($_SESSION["useradmin"]) && $_SESSION["useradmin"] != "") {
    echo "<script>location.href='/system/main.php';</script>";
	exit;
}
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" contect="zh-cn">
<meta name="robots" content="noindex,nofollow" />
<title>网站管理系统-用户登录</title>
<meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="static/login/css/normalize.min.css">
  	<link rel="stylesheet" href="static/login/css/style.css">
    <script src="static/login/js/prefixfree.min.js"></script>
</head>
<body>
  <div class="login">
	<h1>网站后台系统管理</h1>
   <form id="AdminLoginForm" name="AdminLoginForm" method="post" action="login_cg.php" onsubmit="return check_admin(this);">
    	<input type="text" name="admin_ming" placeholder="管理员账号" required="required" />
        <input type="password" name="admin_mima" placeholder="密码" required="required" />
        <button type="submit" class="btn btn-primary btn-block btn-large">进入系统</button>
    </form>
    <div class="foot">Copyright &copy; 2020.zw110.com All rights reserved.</div>
</div>
    <script  src="static/login/js/index.js"></script>
    


</body>
</html>
